
Partial Class WebForm_CommonControl_MonthlyControl
    Inherits System.Web.UI.UserControl

    Public Property SelectedValue() As String
        Get
            Return Me.ddlMonth.SelectedValue
        End Get
        Set(ByVal value As String)
            Me.ddlMonth.SelectedValue = value
        End Set
    End Property

    Public Property Value() As String
        Get
            Return Me.SelectedValue
        End Get
        Set(ByVal value As String)
            Me.SelectedValue = value
        End Set
    End Property

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not IsPostBack Then
            Me.ddlMonth.SelectedValue = Date.Now.Month
        End If
    End Sub
End Class
